<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; utf-8">
<title>登陆页</title>
</head>
<body>
	<!-- 登录表单的登录路径通过配置文件指定-->
	<form action="/page/login" method="post">
		<!-- springSecurity默认打开了“防止跨站请求伪造”功能 一般不要禁用，不禁用的时候需要加上下面的隐藏input -->
		<input type="hidden" name= "${_csrf.parameterName }" value = "${_csrf.token }">
		<table>
			<tr><td>用户名：</td> <td><input type="text" name="username" ></td></tr>
			<tr><td>密码：</td> <td><input type="password" name="password" ></td></tr>
			<tr><td colspan="2"><button type="submit">登录</button> </td></tr>
		</table>
		
	
	</form>

</body>
</html>